home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-03 / qpakwin.zip / INSTALL.EXE / EXP.DAT < prev    next >
Text File  |  1991-12-19  |  68KB  |  1,657 lines

  1. Adds a constant value to all of the data in an integer array.
  2. Declare Sub AddInt Lib "QPRO.DLL" (IntArray%, ByVal Num2Add%, ByVal NumEls%)
  3. AddInt IntArray%(0), Num2Add%, NumEls%
  4.  
  5. Adds two integers on an unsigned basis, without creating an overflow error if the total exceeds 32767.
  6. Declare Function AddUsi% Lib "QPRO.DLL" (ByVal Int1%, ByVal Int2%)
  7. X% = AddUsi%(Int1%, Int2%)
  8.  
  9. Returns a currency value from a memory address.
  10. Declare Function Adr2Cur@ Lib "QPRO.DLL" (ByVal Addr&)
  11. X@ = Adr2Cur@(Addr&)
  12.  
  13. Returns a double precision value from a memory address.
  14. Declare Function Adr2Dbl# Lib "QPRO.DLL" (ByVal Addr&)
  15. X# = Adr2Dbl#(Addr&)
  16.  
  17. Event procedure used in conjunction with the CurTime control to process code at a certain time of day.
  18. CurTime
  19.  
  20.  
  21. The Alarm_Time property allows you to set a time of day to trigger the Alarm event supported by the CurTime custom control.
  22. CurTime
  23. [form.]CurTime.Alarm_Time[ = string$]
  24.  
  25. Reports if the Alt key is currently depressed.
  26. Declare Function AltKey% Lib "QPRO.DLL" ()
  27. X% = AltKey%()
  28.  
  29. Lets you specify whether or not the CurTime custom control displays an "AM" or "PM" label to the right of the displayed time.
  30. CurTime
  31. [form.]CurTime.AM_PM_Label[ = boolean%]
  32.  
  33. Copies the contents of a string array to a List Box control in one operation.
  34. Declare Sub Array2List Lib "QPRO.DLL" (List As Control, Array$, ByVal NumEls%)
  35. Array2List List, Array$(0), NumEls%
  36.  
  37. Copies the contents of a string array to a Combo Box control in one operation.
  38. Declare Sub Array2CB Lib "QPRO.DLL" (Combo As Control, Array$, ByVal NumEls%)
  39. Array2CB Combo, Array$(0), NumEls%
  40.  
  41. Returns the ASCII value for the first character in a string, but it will not cause an "Illegal Function Call" error if the string is null.
  42. Declare Function Ascii% Lib "QPRO.DLL" (Character$)
  43. X% = Ascii%(Character$)
  44.  
  45. Lets you select an Ascii character from ASCICHRT.FRM.
  46. ASCPICK.BAS
  47. AsciiPick Char%
  48.  
  49. Limits data entry to the physical extents of a custom Edit control's display window.
  50. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  51. [form.][control].AutoScroll[ = boolean%]
  52.  
  53. Copies a block of memory (up to 64K in size) to a new location.
  54. Declare Sub BCopy Lib "QPRO.DLL" (ByVal FromSeg%, ByVal FromAddr%, ByVal ToSeg%, ByVal ToAddr%, ByVal NumBytes%, ByVal Direction%)
  55. BCopy FromSeg%, FromAddr%, ToSeg%, ToAddr%, NumBytes%, Direction%
  56.  
  57. Copies one or more elements in a Type array to another array, or to any location in memory.
  58. Declare Sub BCopyT Lib "QPRO.DLL" (Array1 As Any, Array2 As Any, ByVal ElSize%, ByVal NumEls%)
  59. BCopyT Array1(0), Array2(0), ElSize%, NumEls%
  60.  
  61. Accepts a binary number in the form of a string, and returns an equivalent value.
  62. Declare Function Bin2Num% Lib "QPRO.DLL" (Bin$)
  63. X% = Bin2Num%(Bin$)
  64.  
  65. Reports the number of leading blanks in a specified string. Both CHR (32) and CHR (0) null characters are recognized.
  66. Declare Function Blanks% Lib "QPRO.DLL" (CharString$)
  67. X% = Blanks%(CharString$)
  68.  
  69. Specifies whether or not a border frame is drawn around a CurTime custom control.
  70. CurTime
  71. [form.]CurTime.Border[ = boolean%]
  72.  
  73. Creates a sunken or raised effect for a custom Edit control by drawing an additional frame around the control.
  74. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  75. [form.][control].BorderEffect[ = integer%]
  76.  
  77. Converts a centigrade temperature to its Fahrenheit equivalent.
  78. FNOTHER.BAS
  79. FTemp! = C2F!(CTemp!)
  80.  
  81. Form that displays a calendar and allows the user to select a date.
  82. CSCLNDR.FRM
  83. Calendar.Show
  84.  
  85. Reports if the Caps-Lock key is currently on or off.
  86. Declare Function CapsLock% Lib "QPRO.DLL" ()
  87. X% = CapsLock%()
  88.  
  89. Turns off the Caps-Lock key status.
  90. Declare Sub CapsOff Lib "QPRO.DLL" ()
  91. CapsOff 
  92.  
  93. Turns on the Caps-Lock key status.
  94. Declare Sub CapsOn Lib "QPRO.DLL" ()
  95. CapsOn 
  96.  
  97. Lets you set the case of all text contained in a custom List Box.
  98. QPList
  99. [form.]QPList.Case[ = integer%]
  100.  
  101. Copies the items in a Combo box to a string array in one operation.
  102. Declare Sub CB2Array Lib "QPRO.DLL" (Combo As Control, Array$, ByVal NumEls%)
  103. CB2Array Combo, Array$(0), NumEls%
  104.  
  105. Copies the items in a combo box to an ASCII file in one operation.
  106. Declare Sub CB2File Lib "QPRO.DLL" (Combo as Control, ByVal FileName$, ByVal ModeFlag%)
  107. CB2File Combo, FileName$, ModeFlag%
  108.  
  109. Changes directories.
  110. Declare Sub CDir Lib "QPRO.DLL" (ByVal Path$)
  111. CDir Path$
  112.  
  113. Custom event that occurs whenever the user performs any action on a scroll bar.
  114. QPHScroll, QPVScroll
  115.  
  116.  
  117. Specifies the type and range of characters that may be entered into a custom Edit control.
  118. CSText
  119. [form.]CSText.Characters[ = integer%]
  120.  
  121. Specifies a string of acceptable characters for entry into a custom edit control.
  122. CSText
  123. [form.]CSText.CharacterTable[ = string$]
  124.  
  125. Establishes a new length for a file (either longer or shorter).
  126. Declare Sub ClipFile Lib "QPRO.DLL" (ByVal FileName$, NewLen&)
  127. ClipFile FileName$, NewLen&
  128.  
  129. Sets the spacing between columns in a multi-column List Box created using the MultiColumn property.
  130. QPList
  131. [form.]QPList.ColWidth[ = long&]
  132.  
  133. Compresses a string by removing all embedded blanks.
  134. Declare Function Compact$ Lib "QPRO.DLL" (Old$)
  135. X$ = Compact$(Old$)
  136.  
  137. Compares any two blocks of memory, and reports if they are the same.
  138. Declare Function Compare% Lib "QPRO.DLL" (ByVal Segment1%, ByVal Address1%, ByVal Segment2%, ByVal Address2%, ByVal NumBytes%)
  139. X% = Compare%(Segment1%, Address1%, Segment2%, Address2%, NumBytes%)
  140.  
  141. Compares any two Type variables, and reports if they are the same.
  142. Declare Function CompareT% Lib "QPRO.DLL" (Type1 As Any, Type2 As Any, ByVal NumBytes%)
  143. X% = CompareT%(Type1, Type2, NumBytes%)
  144.  
  145. Returns the Windows handle (hWnd) of a given control.
  146. Declare Function ControlHWnd% Lib "QPRO.DLL" (Ctrl As Control)
  147. X% = ControlHWnd%(Ctrl)
  148.  
  149. Creates a system-wide keyboard handler that can be used to monitor keystrokes typed into any running Windows application.
  150. Declare Function CreateAK% Lib "QPRO.DLL" (ByVal hWnd%)
  151. X% = CreateAK%(hWnd%)
  152.  
  153. Creates a system-wide hot key handler for a specific keystroke combination.
  154. Declare Function CreateHK& Lib "QPRO.DLL" (ByVal VKCode%, ByVal Mask%, ByVal Wnd%, ByVal UserVK%)
  155. X& = CreateHK&(VKCode%, Mask%, Wnd%, UserVK%)
  156.  
  157. Custom control for entry of currency data.
  158. QPRO.DLL
  159. N/A
  160.  
  161. Custom control for entry of dates.
  162. QPRO.DLL
  163. N/A
  164.  
  165. Custom control for entry of floating point data.
  166. QPRO.DLL
  167. N/A
  168.  
  169. Custom control for entry of whole number data.
  170. QPRO.DLL
  171. N/A
  172.  
  173. Custom control that replaces Visual Basic's standard Text Box control with an enhanced version that supports masked entry, limited length fields, justification and acceptable character tables.
  174. QPRO.DLL
  175. N/A
  176.  
  177. Custom control for entry of time data.
  178. QPRO.DLL
  179. N/A
  180.  
  181. Reports if the Ctrl key is currently depressed.
  182. Declare Function CtrlKey% Lib "QPRO.DLL" ()
  183. X% = CtrlKey%()
  184.  
  185. Custom control that allows the continuous display of the current time with settable zone offset, alarm functions and a three-dimensional frame.
  186. QPRO.DLL
  187. N/A
  188.  
  189. Accepts an IEEE number in string form and returns the equivalent currency value.
  190. Declare Function CvC@ Lib "QPRO.DLL" (Number$)
  191. X@ = CvC@(Number$)
  192.  
  193. Accepts an IEEE number in string form and returns the equivalent double precision value.
  194. Declare Function CvD# Lib "QPRO.DLL" (Number$)
  195. X# = CvD#(Number$)
  196.  
  197. Accepts a Microsoft Binary Format (MBF) number in string form and returns the equivalent double precision value.
  198. Declare Function CvDMbf# Lib "QPRO.DLL" (Number$)
  199. X# = CvDMbf#(Number$)
  200.  
  201. Accepts an IEEE number in string form and returns the equivalent integer value.
  202. Declare Function CvI% Lib "QPRO.DLL" (Number$)
  203. X% = CvI%(Number$)
  204.  
  205. Accepts an IEEE number in string form and returns the equivalent long integer value.
  206. Declare Function CvL& Lib "QPRO.DLL" (Number$)
  207. X& = CvL&(Number$)
  208.  
  209. Accepts an IEEE number in string form and returns the equivalent single precision value.
  210. Declare Function CvS! Lib "QPRO.DLL" (Number$)
  211. X! = CvS!(Number$)
  212.  
  213. Accepts a Microsoft Binary Format (MBF) number in string form and returns the equivalent single precision value.
  214. Declare Function CvSMbf! Lib "QPRO.DLL" (Number$)
  215. X! = CvSMbf!(Number$)
  216.  
  217. Accepts a date string, and returns the appropriate day of the week (1-7).
  218. DATE2DAY.BAS
  219. Day = Date2Day%(DateString$)
  220.  
  221. Converts a date in string form to an equivalent integer variable to allow date arithmetic.
  222. Declare Function Date2Num% Lib "QPRO.DLL" (ByVal Dat$)
  223. X% = Date2Num%(Dat$)
  224.  
  225. Accepts an integer value between 1 and 7, and returns the eqivalent day name as a string in the form "Mon", "Tue", etc.
  226. Declare Function DayName$ Lib "QPRO.DLL" (ByVal Number%)
  227. X$ = DayName$(Number%)
  228.  
  229. Reports the number of directories under the current directory that match a particular specification.
  230. Declare Function DCount% Lib "QPRO.DLL" (ByVal DirSpec$)
  231. X% = DCount%(DirSpec$)
  232.  
  233. Removes an element from a conventional (not fixed-length) string array.
  234. Declare Sub DeleteStr Lib "QPRO.DLL" (Array$, ByVal NumEls%)
  235. DeleteStr Array$(0), NumEls%
  236.  
  237. Removes an element from a fixed-length string or Type array.
  238. Declare Sub DeleteT Lib "QPRO.DLL" (Array As Any, ByVal ElSize%, ByVal NumEls%)
  239. DeleteT Array(0), ElSize%, NumEls%
  240.  
  241. Counts the number of delimiters in a string, by matching against a second string that contains a table of valid delimiters.
  242. FNOTHER.BAS
  243. Count = Delimit%(Work$, Table$)
  244.  
  245. Draws a frame around an area within a Picture Box.
  246. FRAMES.BAS
  247. DepthFrameCtrl CtrlName, DF
  248.  
  249. Draws a frame around an area within a Form.
  250. FRAMES.BAS
  251. DepthFrameFrm FormName, DF
  252.  
  253. Creates a BASIC string that will be used to hold a Bit array.
  254. DIMBITS.BAS
  255. DimBits Array$, NumEls%
  256.  
  257. Reports a disk's sector and cluster makeup.
  258. Declare Sub DiskInfo Lib "QPRO.DLL" (ByVal Drive$, Bytes%, Sectors%, FreeClusters%, TotalClusters%)
  259. DiskInfo Drive$, Bytes%, Sectors%, FreeClusters%, TotalClusters%
  260.  
  261. Returns the total number of bytes available on the specified drive.
  262. Declare Function DiskRoom& Lib "QPRO.DLL" (ByVal Drive$)
  263. X& = DiskRoom&(Drive$)
  264.  
  265. Returns the total size in bytes of the specified disk drive.
  266. Declare Function DiskSize& Lib "QPRO.DLL" (ByVal Drive$)
  267. X& = DiskSize&(Drive$)
  268.  
  269. Specifies whether or not data may be entered by the user into a custom Edit control.
  270. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  271. [form.][control].DisplayOnly[ = boolean%]
  272.  
  273. Causes a custom List Box to display directory names.
  274. QPList
  275. [form.]QPList.Dir[ = boolean%]
  276.  
  277. Allows you to make calls to DOS interrupt  H21.
  278. Declare Sub DOSCall Lib "QPRO.DLL" (Regs As Any)
  279. DOSCall Regs
  280.  
  281. Reports if an error occurred during the last call to a QuickPak Professional DOS routine.
  282. Declare Function DOSError% Lib "QPRO.DLL" ()
  283. X% = DOSError%()
  284.  
  285. Returns the version of DOS that is presently running on the host PC.
  286. Declare Function DosVer% Lib "QPRO.DLL" ()
  287. X% = DosVer%()
  288.  
  289. Causes a custom List Box to display disk drive letters as well as file and directory names.
  290. QPList
  291. [form.]QPList.Drive[ = boolean%]
  292.  
  293. Suppress the display of items added to a custom List Box.
  294. QPList
  295. [form.]QPList.Echo[ = boolean%]
  296.  
  297. Accepts a date in European "DDMMYY" format, and returns a corresponding integer value.
  298. Declare Function EDate2Num% Lib "QPRO.DLL" (ByVal Dat$)
  299. X% = EDate2Num%(Dat$)
  300.  
  301. Enables or disables the triggering of the Alarm event supported by the CurTime custom control.
  302. CurTime
  303. [form.]CurTime.Enable_Alarm[ = boolean%]
  304.  
  305. Encrypts a specified string using a password that you provide.
  306. Declare Sub Encrypt Lib "QPRO.DLL" (X$, Password$)
  307. Encrypt X$, Password$
  308.  
  309. Encrypts a specified string using a password that you provide.  This is a somewhat more secure version of the original Encrypt.
  310. Declare Sub Encrypt2 Lib "QPRO.DLL" (X$, Password$)
  311. Encrypt2 X$, Password$
  312.  
  313. Custom event that is triggered whenever the user types past the end of a limited length or masked field.
  314. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  315.  
  316.  
  317. Converts a previously encoded integer date to an equivalent string in European "DDMMYY" format.
  318. Declare Function ENum2Date$ Lib "QPRO.DLL" (ByVal X%)
  319. X$ = ENum2Date$(X%)
  320.  
  321. Retrieves all top level windows, child windows under a given window, all task windows, or all parent task windows.
  322. Declare Function EnumWins% Lib "QPRO.DLL" (ByVal EnumFlag%, Array%)
  323. X% = EnumWins%(EnumFlag%, Array%)(0)
  324.  
  325. Enables or suppresses warning beeps when the user types invalid data into a custom Edit control.
  326. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  327. [form.][control].ErrorBeep[ = boolean%]
  328.  
  329. Returns an appropriate message given any of the BASIC error numbers for DOS services.
  330. Declare Function ErrorMsg$ Lib "QPRO.DLL" (ByVal ErrorNum%)
  331. X$ = ErrorMsg$(ErrorNum%)
  332.  
  333. Returns the value of a string similar to Visual Basic's Val function, but without regard to dollar signs, commas, or any other punctuation.
  334. FNOTHER.BAS
  335. Value# = Eval#(Number$)
  336.  
  337. A full featured expression evaluator, it accepts a formula in an incoming string, and returns a double precision result.
  338. EVALUATE.BAS
  339. Answer# = Evaluate#(Expression$)
  340.  
  341. Returns the full name of the currently executing program, including the drive, path and file name.
  342. Declare Function ExeName$ Lib "QPRO.DLL" ()
  343. X$ = ExeName$()
  344.  
  345. Determines the existence of a file.
  346. Declare Function Exist% Lib "QPRO.DLL" (ByVal FileName$)
  347. X% = Exist%(FileName$)
  348.  
  349. Accepts an incoming text string that contains embedded Tab characters, and replaces them with the appropriate number of spaces.
  350. FNOTHER.BAS
  351. Expanded$ = ExpandTab$(Original$, NumSpaces%)
  352.  
  353. Converts a Fahrenheit temperature to its Centigrade equivalent.
  354. FNOTHER.BAS
  355. CTemp! = F2C!(FTemp!)
  356.  
  357. Provides an extremely fast way to obtain a factorial value.
  358. Declare Function Factorial# Lib "QPRO.DLL" (ByVal Number%)
  359. X# = Factorial#(Number%)
  360.  
  361. Retrieves an ASCIIZ string from anywhere in memory, and returns it as a conventional Visual Basic string.
  362. Declare Function Far2Str$ Lib "QPRO.DLL" (ByVal Segment%, ByVal Address%)
  363. X$ = Far2Str$(Segment%, Address%)
  364.  
  365. Closes a file opened with the QuickPak Professional FOpen statement.
  366. Declare Sub FClose Lib "QPRO.DLL" (ByVal Handle%)
  367. FClose Handle%
  368.  
  369. Copies a file without requiring Shell.
  370. Declare Sub FCopy Lib "QPRO.DLL" (ByVal Source$, ByVal Dest$, ErrCode%)
  371. FCopy Source$, Dest$, ErrCode%
  372.  
  373. Reports the number of files that match a particular specification.
  374. Declare Function FCount% Lib "QPRO.DLL" (ByVal FileName$)
  375. X% = FCount%(FileName$)
  376.  
  377. Creates a file in preparation for writing to it with QuickPak Professional file handling routines.
  378. Declare Sub FCreate Lib "QPRO.DLL" (ByVal FileName$)
  379. FCreate FileName$
  380.  
  381. Reports if the current DOS Seek location is at the end of a specified file.
  382. Declare Function FEof% Lib "QPRO.DLL" (ByVal Handle%)
  383. X% = FEof%(Handle%)
  384.  
  385. Flushes a file's buffers to disk without requiring the file to be closed.
  386. Declare Sub FFlush Lib "QPRO.DLL" (ByVal Handle%)
  387. FFlush Handle%
  388.  
  389. Reads data from a disk file into a string.
  390. Declare Sub FGet Lib "QPRO.DLL" (ByVal Handle%, Text$)
  391. FGet Handle%, Text$
  392.  
  393. Reads data from a disk file into an array.
  394. Declare Sub FGetA Lib "QPRO.DLL" (ByVal Handle%, Array As Any, NumBytes&)
  395. FGetA Handle%, Array(0), NumBytes&
  396.  
  397. Retrieves an entire array from disk in a single operation.
  398. Declare Sub FGetAH Lib "QPRO.DLL" (ByVal FileName$, Array As Any, ByVal ElSize%, ByVal NumEls%)
  399. FGetAH FileName$, Array(0), ElSize%, NumEls%
  400.  
  401. Reads data from a random disk file.
  402. Declare Sub FGetR Lib "QPRO.DLL" (ByVal Handle%, Text$, RecNum&)
  403. FGetR Handle%, Text$, RecNum&
  404.  
  405. Reads data from a random disk file into a Type variable.
  406. Declare Sub FGetRT Lib "QPRO.DLL" (ByVal Handle%, Array As Any, RecNum&, ByVal RecSize%)
  407. FGetRT Handle%, Array(0), RecNum&, RecSize%
  408.  
  409. Reads data from a random disk file into a Type array.
  410. Declare Sub FGetRTA Lib "QPRO.DLL" (ByVal Handle%, Array As Any, RecNum&, ByVal RecSize%)
  411. FGetRTA Handle%, Array(0), RecNum&, RecSize%
  412.  
  413. Reads binary data from a disk file into a Type variable.
  414. Declare Sub FGetT Lib "QPRO.DLL" (ByVal Handle%, Destination As Any, NumBytes&)
  415. FGetT Handle%, Destination, NumBytes&
  416.  
  417. Loads an ASCII file into a combo box in one operation.
  418. Declare Sub File2CB Lib "QPRO.DLL" (Combo As Control, ByVal FileName$)
  419. File2CB Combo, FileName$
  420.  
  421. Loads an ASCII file into a list box in one operation.
  422. Declare Sub File2List Lib "QPRO.DLL" (List As Control, ByVal FileName$)
  423. File2List List, FileName$
  424.  
  425. Reports if any two disk files are the same.
  426. FCOMP.BAS
  427. Same = FileComp%(File1$, File2$, ErrCode%)
  428.  
  429. A "front end" to the FCopy routine, which accepts wild cards in the source file specification.
  430. FILECOPY.BAS
  431. FileCopy Source$, Dest$, Copied%, ErrCode%
  432.  
  433. Quickly encrypts any file using a password provided by the calling program.
  434. FILECRPT.BAS
  435. FileCrypt FileName$, PassWord$
  436.  
  437. Returns all of the characteristics of a file.
  438. Declare Sub FileInfo Lib "QPRO.DLL" (ByVal FileName$, Array As Any)
  439. FileInfo FileName$, Array(0)
  440.  
  441. Causes a custom List Box to display drive, directory, and file names.
  442. QPList
  443. Selectable at design time only
  444.  
  445. Returns the length of a named file.
  446. Declare Function FileSize& Lib "QPRO.DLL" (ByVal FileName$)
  447. X& = FileSize&(FileName$)
  448.  
  449. Sorts a random access disk file on any number of keys.
  450. FILESORT.BAS
  451. FileSort DataFile$, IndexFile$, First&, Last&, Table%(), RecLength%
  452.  
  453. Assigns all of the elements in a specified portion of an integer array to any value.
  454. Declare Sub Fill2 Lib "QPRO.DLL" (Array%, ByVal Value%, ByVal NumEls%)
  455. Fill2 Array%(0), Value%, NumEls%
  456.  
  457. Assigns all of the elements in a specified portion of a long integer or single precision array to any value.
  458. Declare Sub Fill4 Lib "QPRO.DLL" (Array As Any, Value As Any, ByVal NumEls%)
  459. Fill4 Array(0), Value, NumEls%
  460.  
  461. Assigns all of the elements in a specified portion of a currency or double precision array to any value.
  462. Declare Sub Fill8 Lib "QPRO.DLL" (Array As Any, Value As Any, ByVal NumEls%)
  463. Fill8 Array(0), Value, NumEls%
  464.  
  465. Searches all or part of a conventional (not fixed-length) string array foreward looking for the first occurrence of a string or sub-string.
  466. Declare Sub Find Lib "QPRO.DLL" (Array$, NumEls%, Search$)
  467. Find Array$(0), NumEls%, Search$
  468.  
  469. Same as Find, except Find2 honors capitalization.
  470. Declare Sub Find2 Lib "QPRO.DLL" (Array$, NumEls%, Search$)
  471. Find2 Array$(0), NumEls%, Search$
  472.  
  473. Same as Find, except FindB searches backwards.
  474. Declare Sub FindB Lib "QPRO.DLL" (Array$, NumEls%, Search$)
  475. FindB Array$(0), NumEls%, Search$
  476.  
  477. Same as Find, except FindB searches backwards and honors capitalization.
  478. Declare Sub FindB2 Lib "QPRO.DLL" (Array$, NumEls%, Search$)
  479. FindB2 Array$(0), NumEls%, Search$
  480.  
  481. Searches an entire conventional (not fixed-length) string array foreward for an exact match.  Unlike Find, Find2, and FindB, and the other "Find" routines, this one requires an exact match.
  482. Declare Sub FindExact Lib "QPRO.DLL" (Array$, NumEls%, Search$)
  483. FindExact Array$(0), NumEls%, Search$
  484.  
  485. Scans a conventional (not fixed-length) string array backwards for the last non-blank element.
  486. Declare Function FindLast% Lib "QPRO.DLL" (Array$, ByVal NumEls%)
  487. X% = FindLast%(Array$(0), NumEls%)
  488.  
  489. Searches all or part of a fixed-length string array for any string or sub-string.
  490. Declare Sub FindT Lib "QPRO.DLL" (Array As Any, ByVal ElSize%, NumEls%, Search$)
  491. FindT Array(0), ElSize%, NumEls%, Search$
  492.  
  493. Same as FindT, except FindT2 honors capitalization.
  494. Declare Sub FindT2 Lib "QPRO.DLL" (Array As Any, ByVal ElSize%, NumEls%, Search$)
  495. FindT2 Array(0), ElSize%, NumEls%, Search$
  496.  
  497. Same as FindT, except FindTB searches backwards.
  498. Declare Sub FindTB Lib "QPRO.DLL" (Array As Any, ByVal ElSize%, NumEls%, Search$)
  499. FindTB Array(0), ElSize%, NumEls%, Search$
  500.  
  501. Same as FindT, except FindTB2 searches backwards and honors capitalization.
  502. Declare Sub FindTB2 Lib "QPRO.DLL" (Array As Any, ByVal ElSize%, NumEls%, Search$)
  503. FindTB2 Array(0), ElSize%, NumEls%, Search$
  504.  
  505. Reads a line of data from a file opened with the QuickPak Professional FOpen routine.
  506. Declare Function FLInput$ Lib "QPRO.DLL" (ByVal Handle, Buffer$)
  507. X$ = FLInput$(Handle, Buffer$)
  508.  
  509. Reports the current DOS file pointer for files opened with the QuickPak Professional FOpen routine.
  510. Declare Function Floc& Lib "QPRO.DLL" (ByVal Handle%)
  511. X& = Floc&(Handle%)
  512.  
  513. Returns the length of a file opened with the QuickPak Professional FOpen routine.
  514. Declare Function FLof& Lib "QPRO.DLL" (ByVal Handle%)
  515. X& = FLof&(Handle%)
  516.  
  517. Reads CMOS memory and returns the type of floppy disks installed on a system.
  518. Declare Sub FloppyType Lib "QPRO.DLL" (DriveA%, DriveB%)
  519. FloppyType DriveA%, DriveB%
  520.  
  521. Controls the manner in which numeric, date and time custom controls are displayed.
  522. CSCurrency, CSDate, CSDouble, CSLong, CSTime
  523. [form.][control].FmtControl[ = integer%]
  524.  
  525. Specifies the currency symbol that is used by the CSCurrency custom control.
  526. CSCurrency
  527. [form.]CSCurrency.FmtCurrency[ = string$]
  528.  
  529. Specifies whether or not the day portion of a date should be displayed in a CSDate custom control.
  530. CSDate
  531. [form.]CSDate.FmtDay[ = integer%]
  532.  
  533. Specifies the number of digits to the right of the decimal point in a numeric Edit control.
  534. CSCurrency, CSDouble
  535. [form.][control.]FmtDecDigits[ = integer%]
  536.  
  537. Specifies the character that is used for the decimal place in a numeric Edit control's display.
  538. CSCurrency, CSDouble
  539. [form.][control.]FmtDecimal[ = string$]
  540.  
  541. Specifies the number of allowable whole number digits to the left of the decimal point in the display of a numeric Edit control.
  542. CSCurrency, CSDouble, CSLong
  543. [form.][control.]FmtIntDigits[ = integer%]
  544.  
  545. Specifies how the month portion of a date is displayed in the CSDate custom control.
  546. CSDate
  547. [form.]CSDate.FmtMonth[ = integer%]
  548.  
  549. Specifies the separator character used between the components of a date or time field when using the CSDate or CSTime controls.
  550. CSDate, CSTime
  551. [form.][control.]FmtSeparator[ = string$]
  552.  
  553. Specifies the character that is used for the thousands separator in a numeric Edit control's display.
  554. CSCurrency, CSDouble, CSLong
  555. [form.][control.]FmtThousands[ = string$]
  556.  
  557. Specifies how the year portion of a date is displayed in the CSDate custom control.
  558. CSDate
  559. [form.]CSDate.FmtYear[ = integer%]
  560.  
  561. Opens a disk file in preparation for reading or writing data.
  562. Declare Sub FOpen Lib "QPRO.DLL" (ByVal FileName$, Handle%)
  563. FOpen FileName$, Handle%
  564.  
  565. Opens a disk file for any access mode including all of the variations required for a network.
  566. Declare Sub FOpenAll Lib "QPRO.DLL" (ByVal FileName$, ByVal AccessMode%, ByVal Share%, Handle%)
  567. FOpenAll FileName$, AccessMode%, Share%, Handle%
  568.  
  569. Opens a disk file for read/write access on a network while allowing others read access only.
  570. Declare Sub FOpenS Lib "QPRO.DLL" (ByVal FileName$, Handle%)
  571. FOpenS FileName$, Handle%
  572.  
  573. Returns the index of a matching item found using the SearchString property supported by the custom List Box control.
  574. QPList
  575. [integer% = ][form.]QPList.FoundIndex
  576.  
  577. Writes data to a disk file from a string.
  578. Declare Sub FPut Lib "QPRO.DLL" (ByVal Handle%, Text$)
  579. FPut Handle%, Text$
  580.  
  581. Writes data to a disk file from an array.
  582. Declare Sub FPutA Lib "QPRO.DLL" (ByVal Handle%, Array As Any, NumBytes&)
  583. FPutA Handle%, Array(0), NumBytes&
  584.  
  585. Writes an entire array to disk in one operation.
  586. Declare Sub FPutAH Lib "QPRO.DLL" (ByVal FileName$, Array As Any, ByVal ElSize%, ByVal NumEls%)
  587. FPutAH FileName$, Array(0), ElSize%, NumEls%
  588.  
  589. Writes data to a random disk file.
  590. Declare Sub FputR Lib "QPRO.DLL" (ByVal Handle%, Text$, RecNum&)
  591. FputR Handle%, Text$, RecNum&
  592.  
  593. Writes data to a random disk file where the source data is either a fixed-length string or Type variable.
  594. Declare Sub FPutRT Lib "QPRO.DLL" (ByVal Handle%, Array As Any, RecNum&, ByVal RecSize%)
  595. FPutRT Handle%, Array(0), RecNum&, RecSize%
  596.  
  597. Same as FPutRT, except FPutRTA accepts a segmented address for saving array data.
  598. Declare Sub FputRTA Lib "QPRO.DLL" (ByVal Handle%, Array As Any, RecNum&, ByVal RecSize%)
  599. FputRTA Handle%, Array(0), RecNum&, RecSize%
  600.  
  601. Writes data to a disk file from either a fixed-lenght string or Type variable.
  602. Declare Sub FputT Lib "QPRO.DLL" (ByVal Handle%, Source As Any, NumBytes&)
  603. FputT Handle%, Source, NumBytes&
  604.  
  605. Returns either the amount of free EMS memory, or the total amount of available real and disk-based protected mode memory that is currently available.
  606. Declare Function Fre& Lib "QPRO.DLL" (ByVal Number%)
  607. X& = Fre&(Number%)
  608.  
  609. Positions the DOS file pointer for a file opened with the QuickPak Professional FOpen routine.
  610. Declare Sub FSeek Lib "QPRO.DLL" (ByVal Handle%, NewLocation&)
  611. FSeek Handle%, NewLocation&
  612.  
  613. Creates a new date and time for a specified file.
  614. Declare Sub FStamp Lib "QPRO.DLL" (ByVal FileName$, ByVal NewTime$, ByVal NewDate$)
  615. FStamp FileName$, NewTime$, NewDate$
  616.  
  617. Accepts an incoming number and image string, and returns it formatted, much like DOS BASIC's PRINT USING.
  618. Declare Function FUsing$ Lib "QPRO.DLL" (Number$, Image$)
  619. X$ = FUsing$(Number$, Image$)
  620.  
  621. Returns the setting of a file's attribute byte.
  622. Declare Function GetAttr% Lib "QPRO.DLL" (ByVal FileName$)
  623. X% = GetAttr%(FileName$)
  624.  
  625. Returns the status (On or Off) of an element in a QuickPak Professional Bit array.
  626. Declare Function GetBit% Lib "QPRO.DLL" (Array$, ByVal Element%)
  627. X% = GetBit%(Array$(0), Element%)
  628.  
  629. Form that displays a color selection/mixing dialog box and returns a selected color value.
  630. CLREDIT.FRM
  631. ClrEdit.Show
  632.  
  633. Returns an integer value that indicates the type of CPU installed on the host PC.
  634. Declare Function GetCPU% Lib "QPRO.DLL" ()
  635. X% = GetCPU%()
  636.  
  637. Returns the current directory for either a specified drive or the default drive.
  638. Declare Function GetDir$ Lib "QPRO.DLL" (ByVal Drive$)
  639. X$ = GetDir$(Drive$)
  640.  
  641. Returns the current defalut disk drive.
  642. Declare Function GetDrive% Lib "QPRO.DLL" ()
  643. X% = GetDrive%()
  644.  
  645. Returns several items from the equipment list kept in the low-memory area of a PC.
  646. Declare Sub GetEquip Lib "QPRO.DLL" (Flopps%, Parallel%, Serial%)
  647. GetEquip Flopps%, Parallel%, Serial%
  648.  
  649. Uses the FILEOPEN.FRM to allow the user to pick a filename from any file on the system.
  650. FILEOPN.BAS
  651. Button% = GetFileName%(FileSpec$, FileName$, ButtonName$())
  652.  
  653. Uses the FILESAVE.FRM to allow the user to enter a filename used for saving.
  654. FILESAV.BAS
  655. Button% = GetSaveAsName%(FileName$)
  656.  
  657. Returns the percentage of free Windows system resources.
  658. Declare Function GetSystemResources% Lib "QPRO.DLL" ()
  659. X% = GetSystemResources%()
  660.  
  661. Returns the disk volume label for either the default or a specified drive.
  662. Declare Function GetVol$ Lib "QPRO.DLL" (ByVal Drive$)
  663. X$ = GetVol$(Drive$)
  664.  
  665. Determines whether a specified drive letter is valid.
  666. Declare Function GoodDrive% Lib "QPRO.DLL" (ByVal Drive$)
  667. X% = GoodDrive%(Drive$)
  668.  
  669. Searches an entire currency array and returns the element number of the largest value.
  670. Declare Function IMaxC% Lib "QPRO.DLL" (Array@, ByVal NumEls%)
  671. X% = IMaxC%(Array@(0), NumEls%)
  672.  
  673. Searches an entire double precision array and returns the element number of the largest value.
  674. Declare Function IMaxD% Lib "QPRO.DLL" (Array#, ByVal NumEls%)
  675. X% = IMaxD%(Array#(0), NumEls%)
  676.  
  677. Searches an entire integer array and returns the element number of the largest value.
  678. Declare Function IMaxI% Lib "QPRO.DLL" (Array%, ByVal NumEls%)
  679. X% = IMaxI%(Array%(0), NumEls%)
  680.  
  681. Searches an entire long integer array and returns the element number of the largest value.
  682. Declare Function IMaxL% Lib "QPRO.DLL" (Array&, ByVal NumEls%)
  683. X% = IMaxL%(Array&(0), NumEls%)
  684.  
  685. Searches an entire single precision array and returns the element number of the largest value.
  686. Declare Function IMaxS% Lib "QPRO.DLL" (Array!, ByVal NumEls%)
  687. X% = IMaxS%(Array!(0), NumEls%)
  688.  
  689. Searches an entire currency array and returns the element number of the smallest value.
  690. Declare Function IMinC% Lib "QPRO.DLL" (Array@, ByVal NumEls%)
  691. X% = IMinC%(Array@(0), NumEls%)
  692.  
  693. Searches an entire double precision array and returns the element number of the smallest value.
  694. Declare Function IMinD% Lib "QPRO.DLL" (Array#, ByVal NumEls%)
  695. X% = IMinD%(Array#(0), NumEls%)
  696.  
  697. Searches an entire integer array and returns the element number of the smallest value.
  698. Declare Function IMinI% Lib "QPRO.DLL" (Array%, ByVal NumEls%)
  699. X% = IMinI%(Array%(0), NumEls%)
  700.  
  701. Searches an entire long integer array and returns the element number of the smallest value.
  702. Declare Function IMinL% Lib "QPRO.DLL" (Array&, ByVal NumEls%)
  703. X% = IMinL%(Array&(0), NumEls%)
  704.  
  705. Searches an entire single precision array and returns the element number of the smallest value.
  706. Declare Function IMinS% Lib "QPRO.DLL" (Array!, ByVal NumEls%)
  707. X% = IMinS%(Array!(0), NumEls%)
  708.  
  709. Reports how many times one string occurs within another, and the search string may contain any number of wild cards.
  710. Declare Function InCount% Lib "QPRO.DLL" (Source$, Search$)
  711. X% = InCount%(Source$, Search$)
  712.  
  713. Same as InCount, but searching is case insensitive.
  714. Declare Function InCount2% Lib "QPRO.DLL" (Source$, Search$)
  715. X% = InCount2%(Source$, Search$)
  716.  
  717. Returns the number of characters in a string that match any of the characters in a table.
  718. Declare Function InCountTbl% Lib "QPRO.DLL" (Work$, Table$)
  719. X% = InCountTbl%(Work$, Table$)
  720.  
  721. Initializes all or a specified portion of an integer array with increasing values.
  722. Declare Sub InitInt Lib "QPRO.DLL" (Array%, ByVal StartValue%, ByVal NumEls%)
  723. InitInt Array%(0), StartValue%, NumEls%
  724.  
  725. Visual Basic replacement for the DOS BASIC function of the same name, used for reading directly from a machine port.
  726. Declare Function Inp% Lib "QPRO.DLL" (ByVal Port%)
  727. X% = Inp%(Port%)
  728.  
  729. Specifies whether or not a custom Edit control will operate in either insert or overstrike mode.
  730. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  731. [form.][control].Insert[ = boolean%]
  732.  
  733. Inserts an element at any point in a conventional (not fixed-length) string array.
  734. Declare Sub InsertStr Lib "QPRO.DLL" (Array$, NewItem$, ByVal NumEls%)
  735. InsertStr Array$(0), NewItem$, NumEls%
  736.  
  737. Inserts an element at any point in a numeric, or Type array.
  738. Declare Sub InsertT Lib "QPRO.DLL" (Array As Any, ByVal ElSize%, ByVal NumEls%)
  739. InsertT Array(0), ElSize%, NumEls%
  740.  
  741. Searches a string for the first occurrence of any characters that are specified in a table string.
  742. Declare Function InstrTbl% Lib "QPRO.DLL" (ByVal Start%, Source$, Table$)
  743. X% = InstrTbl%(Start%, Source$, Table$)
  744.  
  745. Same as InstrTbl, except InstrTbl2 is not case sensitive.
  746. Declare Function InstrTbl2% Lib "QPRO.DLL" (ByVal Start%, Source$, Table$)
  747. X% = InstrTbl2%(Start%, Source$, Table$)
  748.  
  749. Same as InstrTbl ,except searching is performed backwards from the end of the string.
  750. Declare Function InstrTblB% Lib "QPRO.DLL" (ByVal Start%, Source$, Table$)
  751. X% = InstrTblB%(Start%, Source$, Table$)
  752.  
  753. Same as InstrTbl2, except InstrTbl2 is not case sensitive and searching is performed backwards from the end of the string.
  754. Declare Function InstrTblB2% Lib "QPRO.DLL" (ByVal Start%, Source$, Table$)
  755. X% = InstrTblB2%(Start%, Source$, Table$)
  756.  
  757. Custom event that is triggered whenever the user types an invalid character into an Edit control.
  758. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  759.  
  760.  
  761. Places in order all or a specified portion of a currency array by sorting a parallel index array (ascending or descending order).
  762. Declare Sub ISortC Lib "QPRO.DLL" (Array@, Index%, ByVal NumEls%, ByVal Direct%)
  763. ISortC Array@(0), Index%, NumEls%, Direct%
  764.  
  765. Places in order all or a specified portion of a double precision array by sorting a parallel index array (ascending or descending order).
  766. Declare Sub ISortD Lib "QPRO.DLL" (Array#, Index%, ByVal NumEls%, ByVal Direct%)
  767. ISortD Array#(0), Index%, NumEls%, Direct%
  768.  
  769. Places in order all or a specified portion of an integer array by sorting a parallel index array (ascending or descending order).
  770. Declare Sub ISortI Lib "QPRO.DLL" (Array%, Index%, ByVal NumEls%, ByVal Direct%)
  771. ISortI Array%(0), Index%, NumEls%, Direct%
  772.  
  773. Places in order all or a specified portion of a long integer array by sorting a parallel index array (ascending or descending order).
  774. Declare Sub ISortL Lib "QPRO.DLL" (Array&, Index%, ByVal NumEls%, ByVal Direct%)
  775. ISortL Array&(0), Index%, NumEls%, Direct%
  776.  
  777. Places in order all or a specified portion of a single precision array by sorting a parallel index array (ascending or descending order).
  778. Declare Sub ISortS Lib "QPRO.DLL" (Array!, Index%, ByVal NumEls%, ByVal Direct%)
  779. ISortS Array!(0), Index%, NumEls%, Direct%
  780.  
  781. Places in order all or a specified portion of a conventional (not fixed-length) string array by sorting a parallel index array (ascending or descending order).
  782. Declare Sub ISortStr Lib "QPRO.DLL" (Array$, Index%, ByVal NumEls%, ByVal Direct%)
  783. ISortStr Array$(0), Index%, NumEls%, Direct%
  784.  
  785. Same as ISortStr, but is case insensitive.
  786. Declare Sub ISortStr2 Lib "QPRO.DLL" (Array$, Index%, ByVal NumEls%, ByVal Direct%)
  787. ISortStr2 Array$(0), Index%, NumEls%, Direct%
  788.  
  789. Places in order all or a specified portion of a Type array by sorting a parallel index array (ascending or descending order).
  790. Declare Sub ISortT Lib "QPRO.DLL" (Array As Any, Index%, ByVal NumEls%, ByVal Direct%, ByVal ElSize%, ByVal MemberOffset%, ByVal MemberSize%)
  791. ISortT Array(0), Index%, NumEls%, Direct%, ElSize%, MemberOffset%, MemberSize%
  792.  
  793. Same as ISortT, but is case insensitive.
  794. Declare Sub ISortT2 Lib "QPRO.DLL" (Array As Any, Index%, ByVal NumEls%, ByVal Direct%, ByVal ElSize%, ByVal MemberOffset%, ByVal MemberSize%)
  795. ISortT2 Array(0), Index%, NumEls%, Direct%, ElSize%, MemberOffset%, MemberSize%
  796.  
  797. Specifies how a custom Edit control displays its contents when it does not have focus.
  798. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  799. [form.][control].Justification[ = integer%]
  800.  
  801. Sorts a user defined Type array based on any number of keys (ascending or descending order).
  802. Declare Sub KeySort Lib "QPRO.DLL" (Array As Any, ByVal ElSize%, ByVal NumEls%, TableArray%, ByVal NumKeys%)
  803. KeySort Array(0), ElSize%, NumEls%, TableArray%(0), NumKeys%
  804.  
  805. Removes from memory a system-wide keystroke handler that was created with the CreateAK routine.
  806. Declare Sub KillAK Lib "QPRO.DLL" (ByVal hWnd%)
  807. KillAK hWnd%
  808.  
  809. Removes a specified directory.
  810. Declare Sub KillDir Lib "QPRO.DLL" (ByVal DirName$)
  811. KillDir DirName$
  812.  
  813. Deletes a specified file.
  814. Declare Sub KillFile Lib "QPRO.DLL" (ByVal FileName$)
  815. KillFile FileName$
  816.  
  817. Removes from memory a system-wide hot key handler that was created by CreateHK.
  818. Declare Sub KillHK Lib "QPRO.DLL" (ByVal hHotKey&)
  819. KillHK hHotKey&
  820.  
  821. Returns the last consecutively available drive.
  822. Declare Function LastDrive% Lib "QPRO.DLL" ()
  823. X% = LastDrive%()
  824.  
  825. Reverses the position of a first and last name in a string such that the last name comes before the first.
  826. FNOTHER.BAS
  827. NewName$ = LastFirst$(OldName$)
  828.  
  829. Reverses the position of a first and last name in a string such that the last name comes after the first.
  830. FNOTHER.BAS
  831. NewName$ = LastLast$(OldName$)
  832.  
  833. Searches a List Box (Visual Basic or the QPList custom control) for a matching string and returns the index of the match.
  834. Declare Function LBFindString% Lib "QPro.DLL" (Ctrl As Control, ByVal Start%, ByVal Search$, ByVal HiLight%)
  835. X% = LBFindString%(Ctrl, Start%, Search$, HiLight%)
  836.  
  837. Fills an integer array with the index values of the currently selected items in a multi-select list box.
  838. Declare Sub LBGetSelection Lib "QPro.DLL" (Ctrl As Control, Array%, ByVal NumEls%)
  839. LBGetSelection Ctrl, Array%(0), NumEls%
  840.  
  841. Sets the position of tab stops within a List Box control (Visual Basic or the QPList custom control).
  842. Declare Sub LBSetTabStops Lib "QPro.DLL" (Ctrl As Control, Array&, ByVal NumEls%)
  843. LBSetTabStops Ctrl, Array&(0), NumEls%
  844.  
  845. Returns the number of lines of text in a specified file.
  846. Declare Function LineCount& Lib "QPRO.DLL" (ByVal FileName$, ByVal Buffer$)
  847. X& = LineCount&(FileName$, Buffer$)
  848.  
  849. Copies the items in a list box to a string array in one operation.
  850. Declare Sub List2Array Lib "QPRO.DLL" (List As Control, Array$, ByVal NumEls%)
  851. List2Array List, Array$(0), NumEls%
  852.  
  853. Copies the items in a list box to an ASCII file in one operation.
  854. Declare Sub List2File Lib "QPRO.DLL" (List as Control, ByVal FileName$, ByVal ModeFlag%)
  855. List2File List, FileName$, ModeFlag%
  856.  
  857. Returns the number of items currently in a List Box, and can optionally be used to clear the entire contents when set to 0.
  858. QPList
  859. [form.]QPList.ListCount[ = integer%]
  860.  
  861. Locks all or a portion of a network file.
  862. Declare Sub LockFile Lib "QPRO.DLL" (ByVal Handle%, Offset&, Length&)
  863. LockFile Handle%, Offset&, Length&
  864.  
  865. Returns the length of the longest element in an entire conventional (not fixed-length) string array.
  866. Declare Function LongestStr% Lib "QPRO.DLL" (Array$, ByVal NumEls%)
  867. X% = LongestStr%(Array$(0), NumEls%)
  868.  
  869. Strips the "high bit" from all of the characters in a specified string.
  870. Declare Sub LowASCII Lib "QPRO.DLL" (Text$)
  871. LowASCII Text$
  872.  
  873. Converts all characters in a specified string to lower case very quickly.
  874. Declare Sub Lower Lib "QPRO.DLL" (XString$)
  875. Lower XString$
  876.  
  877. Converts all characters in a specified string to lower case, and it also looks in a supplied table to determine how to handle foreign characters.
  878. Declare Sub LowerTbl Lib "QPRO.DLL" (XString$, Table$)
  879. LowerTbl XString$, Table$
  880.  
  881. Returns a long integer far pointer to a Visual Basic High Level Language (VBHLL) string.
  882. Declare Function LpStr& Lib "QPRO.DLL" (A$)
  883. X& = LpStr&(A$)
  884.  
  885. Creates a directory.
  886. Declare Sub MakeDir Lib "QPRO.DLL" (ByVal DirName$)
  887. MakeDir DirName$
  888.  
  889. Specifies the type and position of characters that may be entered or skipped by the user when working with the CSText custom Edit control.
  890. CSText
  891. [form.]CSText.Mask[ = string$]
  892.  
  893. Reports if an 80x87 math co-processor chip is installed in the host PC.
  894. Declare Function MathChip% Lib "QPRO.DLL" ()
  895. X% = MathChip%()
  896.  
  897. Specifies the maximum number of characters that may be entered into a custom Edit control.
  898. CSCurrency, CSDouble, CSLong, CSText
  899. [form.][control].MaxCharacters[ = integer%]
  900.  
  901. Returns the largest value in a specified portion of a currency array.
  902. Declare Function MaxC@ Lib "QPRO.DLL" (Array@, ByVal NumEls%)
  903. X@ = MaxC@(Array@(0), NumEls%)
  904.  
  905. Returns the largest value in a specified portion of a double precision array.
  906. Declare Function MaxD# Lib "QPRO.DLL" (Array#, ByVal NumEls%)
  907. X# = MaxD#(Array#(0), NumEls%)
  908.  
  909. Returns the largest value in a specified portion of an integer array.
  910. Declare Function MaxI% Lib "QPRO.DLL" (Array%, ByVal NumEls%)
  911. X% = MaxI%(Array%(0), NumEls%)
  912.  
  913. Compares two integer variables, and returns the value of the largest one.
  914. Declare Function MaxInt% Lib "QPRO.DLL" (ByVal value1%, ByVal value2%)
  915. X% = MaxInt%(value1%, value2%)
  916.  
  917. Returns the largest value in a specified portion of a long integer array.
  918. Declare Function MaxL& Lib "QPRO.DLL" (Array&, ByVal NumEls%)
  919. X& = MaxL&(Array&(0), NumEls%)
  920.  
  921. Compares two long integer variables, and returns the value of the largest one.
  922. Declare Function MaxLong& Lib "QPRO.DLL" (ByVal value1&, ByVal value2&)
  923. X& = MaxLong&(value1&, value2&)
  924.  
  925. Returns the largest value in a specified portion of a single precision array.
  926. Declare Function MaxS! Lib "QPRO.DLL" (Array!, ByVal NumEls%)
  927. X! = MaxS!(Array!(0), NumEls%)
  928.  
  929. Specifies the maximum range of a numeric Edit control's contents.
  930. CSCurrency, CSDate, CSDouble, CSLong, CSTime
  931. [form.][control].MaxValue[ = (currency@, integer%, double#, long&, long&)]
  932.  
  933. Returns the smallest value in a specified portion of a currency array.
  934. Declare Function MinC@ Lib "QPRO.DLL" (Array@, ByVal NumEls%)
  935. X@ = MinC@(Array@(0), NumEls%)
  936.  
  937. Returns the smallest value in a specified portion of a double precision array.
  938. Declare Function MinD# Lib "QPRO.DLL" (Array#, ByVal NumEls%)
  939. X# = MinD#(Array#(0), NumEls%)
  940.  
  941. Returns the smallest value in a specified portion of an integer array.
  942. Declare Function MinI% Lib "QPRO.DLL" (Array%, ByVal NumEls%)
  943. X% = MinI%(Array%(0), NumEls%)
  944.  
  945. Compares two integer variables, and returns the value of the lower one.
  946. Declare Function MinInt% Lib "QPRO.DLL" (ByVal value1%, ByVal value2%)
  947. X% = MinInt%(value1%, value2%)
  948.  
  949. Returns the smallest value in a specified portion of a long integer array.
  950. Declare Function MinL& Lib "QPRO.DLL" (Array&, ByVal NumEls%)
  951. X& = MinL&(Array&(0), NumEls%)
  952.  
  953. Compares two long integer variables, and returns the value of the lower one.
  954. Declare Function MinLong& Lib "QPRO.DLL" (ByVal value1&, ByVal value2&)
  955. X& = MinLong&(value1&, value2&)
  956.  
  957. Returns the smallest value in a specified portion of a single precision array.
  958. Declare Function MinS! Lib "QPRO.DLL" (Array!, ByVal NumEls%)
  959. X! = MinS!(Array!(0), NumEls%)
  960.  
  961. Specifies the minimum range of a numeric Edit control's contents.
  962. CSCurrency, CSDate, CSDouble, CSLong, CSTime
  963. [form.][control].MinValue[ = (currency@, integer%, double#, long&, long&)]
  964.  
  965. Accepts a currrency value and returns a corresponding IEEE representation in string form.
  966. Declare Function MkC$ Lib "QPRO.DLL" (ByVal Number@)
  967. X$ = MkC$(Number@)
  968.  
  969. Accepts a double precision value and returns a corresponding IEEE representation in string form.
  970. Declare Function MkD$ Lib "QPRO.DLL" (ByVal Number#)
  971. X$ = MkD$(Number#)
  972.  
  973. Same as MkD , but returns a Microsoft Binary Format (MBF) string.
  974. Declare Function MkDMbf$ Lib "QPRO.DLL" (ByVal Number#)
  975. X$ = MkDMbf$(Number#)
  976.  
  977. Accepts an integer value and returns a corresponding IEEE representation in string form.
  978. Declare Function MkI$ Lib "QPRO.DLL" (ByVal Number%)
  979. X$ = MkI$(Number%)
  980.  
  981. Accepts a long integer value and returns a corresponding IEEE representation in string form.
  982. Declare Function MkL$ Lib "QPRO.DLL" (ByVal Number&)
  983. X$ = MkL$(Number&)
  984.  
  985. Accepts a single precision value and returns a corresponding IEEE representation in string form.
  986. Declare Function MkS$ Lib "QPRO.DLL" (ByVal Number!)
  987. X$ = MkS$(Number!)
  988.  
  989. Same as MkS , but returns a Microsoft Binary Format (MBF) string.
  990. Declare Function MkSMbf$ Lib "QPRO.DLL" (ByVal Number!)
  991. X$ = MkSMbf$(Number!)
  992.  
  993. Returns a string defining the current Windows operating mode.
  994. Declare Function ModeInfo$ Lib "QPRO.DLL" ()
  995. X$ = ModeInfo$()
  996.  
  997. Determines whether an Edit control's contents have been modified since the last time the control had the focus.
  998. CSCurrency, CSDate, CSDouble, CSLong, CSText, CSTime
  999. [form.][control].Modified[ = boolean%]
  1000.  
  1001. Allows printing debug or other data to a second monochrome monitor.
  1002. Declare Sub MonoPrint Lib "QPRO.DLL" (Text$, ByVal Row%, ByVal Col%, ByVal Attr%)
  1003. MonoPrint Text$, Row%, Col%, Attr%
  1004.  
  1005. Accepts an integer value between 1 and 12, and returns an equivalent month name as a string in the form, "Jan", "Feb", etc.
  1006. Declare Function MonthName$ Lib "QPRO.DLL" (ByVal Number%)
  1007. X$ = MonthName$(Number%)
  1008.  
  1009. Causes a custom List Box to display items in a snaking multi-column format.
  1010. QPList
  1011. Design Time Only
  1012.  
  1013. Re-names a directory.
  1014. Declare Sub NameDir Lib "QPRO.DLL" (ByVal OldName$, ByVal NewName$)
  1015. NameDir OldName$, NewName$
  1016.  
  1017. Re-names a file.
  1018. Declare Sub NameFile Lib "QPRO.DLL" (ByVal OldName$, ByVal NewName$)
  1019. NameFile OldName$, NewName$
  1020.  
  1021. Returns a local network machine name if your program is running on a network compatible with the NetBios standard.
  1022. Declare Function NetName$ Lib "QPRO.DLL" ()
  1023. X$ = NetName$()
  1024.  
  1025. Returns the offset of the first character in a string that does not match any of the charachters in another.
  1026. Declare Function NotInstr% Lib "QPRO.DLL" (ByVal Start%, Source$, Table$)
  1027. X% = NotInstr%(Start%, Source$, Table$)
  1028.  
  1029. Reports if a specified string is either null (0 length), or is filled with blank or Chr (0) characters.
  1030. Declare Function Null% Lib "QPRO.DLL" (Work$)
  1031. X% = Null%(Work$)
  1032.  
  1033. Converts a number into an equivalent binary string with a fixed length of 16 digits.
  1034. Declare Function Num2Bin$ Lib "QPRO.DLL" (ByVal Value%)
  1035. X$ = Num2Bin$(Value%)
  1036.  
  1037. Same as Num2Bin, except Num2Bin2 returns only as many digits as required to represent the number.
  1038. Declare Function Num2Bin2$ Lib "QPRO.DLL" (ByVal Value%)
  1039. X$ = Num2Bin2$(Value%)
  1040.  
  1041. Converts a previously encoded integer date to an equivalent date string.
  1042. Declare Function Num2Date$ Lib "QPRO.DLL" (ByVal X%)
  1043. X$ = Num2Date$(X%)
  1044.  
  1045. Accepts an integer number that represents a date in the QuickPak Professional format, and returns the appropriate day of the week (1-7).
  1046. Declare Function Num2Day% Lib "QPRO.DLL" (ByVal X%)
  1047. X% = Num2Day%(X%)
  1048.  
  1049. Converts a long integer that represents the number of seconds past midnight to an equivalent time in string form.
  1050. Declare Function Num2Time$ Lib "QPRO.DLL" (X&)
  1051. X$ = Num2Time$(X&)
  1052.  
  1053. Reports if the NumLock key is currently on or off.
  1054. Declare Function NumLock% Lib "QPRO.DLL" ()
  1055. X% = NumLock%()
  1056.  
  1057. Turns off the NumLock key status.
  1058. Declare Sub NumOff Lib "QPRO.DLL" ()
  1059. NumOff 
  1060.  
  1061. Turns on the NumLock key status.
  1062. Declare Sub NumOn Lib "QPRO.DLL" ()
  1063. NumOn 
  1064.  
  1065. Visual Basic replacement for the DOS BASIC routine of the same name, used to write directly to a machine port.
  1066. Declare Sub Out Lib "QPRO.DLL" (ByVal Port%, ByVal bData%)
  1067. Out Port%, bData%
  1068.  
  1069. Custom event that is triggered whenever an Edit control looses focus, and the value of its contents is outside the range specified in the MaxValue or MinValue properties.
  1070. CSCurrency, CSDate, CSDouble, CSLong, CSTime
  1071.  
  1072.  
  1073. Adds leading zeros to a number, padding it to a specified number of digits.
  1074. FNOTHER.BAS
  1075. Padded$ = Pad$(Number!, Digits%)
  1076.  
  1077. Draws a concave (top and left are grey, bottom and right are white) frame around a control within a Form.
  1078. FRAMES.BAS
  1079. PaintFrameCtrl FormName, CtrlName
  1080.  
  1081. Draws a convex (top and left are white, bottom and right are grey) frame around a Form.  This causes forms to appear to have thickness.
  1082. FRAMES.BAS
  1083. PaintFrameFrm FormName
  1084.  
  1085. Extracts individual components from a string, and places each into a separate elements of a string array.
  1086. FNOTHER.BAS
  1087. Parse Work$, Delim$, Array$()
  1088.  
  1089. Accepts an incoming string that contains numbers separated by commas, and returns a new string consisting of equivalent ASCII characters.
  1090. FNOTHER.BAS
  1091. Code$ = ParseStr$(List$)
  1092.  
  1093. Accepts a string containing delimited information and returns portions of the string each time it is invoked.
  1094. Declare Function ParseString$ Lib "QPRO.DLL" (CurPos%, Work$, Delimit$)
  1095. X$ = ParseString$(CurPos%, Work$, Delimit$)
  1096.  
  1097. Reads one byte from a specified segment and address and returns its value.
  1098. Declare Function Peek1% Lib "QPRO.DLL" (ByVal Segment%, ByVal Address%)
  1099. X% = Peek1%(Segment%, Address%)
  1100.  
  1101. Reads a word (two bytes) at a specified segment and address, and returns its value.
  1102. Declare Function Peek2% Lib "QPRO.DLL" (ByVal Segment%, ByVal Address%)
  1103. X% = Peek2%(Segment%, Address%)
  1104.  
  1105. Visual Basic replacement for DOS BASIC PLAY statement.
  1106. Declare Function Play% Lib "QPRO.DLL" (Tune$)
  1107. X% = Play%(Tune$)
  1108.  
  1109. Writes a new byte to a specified segment and address.
  1110. Declare Sub Poke1 Lib "QPRO.DLL" (ByVal Segment%, ByVal Address%, ByVal Byte%)
  1111. Poke1 Segment%, Address%, Byte%
  1112.  
  1113. Writes a new word (two bytes) to a specified segment and address.
  1114. Declare Sub Poke2 Lib "QPRO.DLL" (ByVal Segment%, ByVal Address%, ByVal Word%)
  1115. Poke2 Segment%, Address%, Word%
  1116.  
  1117. Raises any number to a power specified without using floating point math.
  1118. Declare Function Power% Lib "QPRO.DLL" (ByVal Mantissa%, ByVal Exponent%)
  1119. X% = Power%(Mantissa%, Exponent%)
  1120.  
  1121. Raises the number 2 to a power specified without using floating point math.
  1122. Declare Function Power2% Lib "QPRO.DLL" (ByVal Exponent%)
  1123. X% = Power2%(Exponent%)
  1124.  
  1125. Converts the first letter of each word in a string to upper case.
  1126. Declare Sub ProperName Lib "QPRO.DLL" (PName$)
  1127. ProperName PName$
  1128.  
  1129. Creates or renames a disk volume label.
  1130. Declare Sub PutVol Lib "QPRO.DLL" (ByVal Drive$, ByVal Label$)
  1131. PutVol Drive$, Label$
  1132.  
  1133. Lets you design password entry fields that do not display their contents.
  1134. CSText
  1135. [form.]CSText.PWCharacter[ = string$]
  1136.  
  1137. Loads a QBSaved file into memory much like DOS BASIC's BLOAD.
  1138. Declare Sub QBLoad Lib "QPRO.DLL" (ByVal FileName$, Array%)
  1139. QBLoad FileName$, Array%(0)
  1140.  
  1141. Saves an array of data to disk.
  1142. Declare Sub QBSave Lib "QPRO.DLL" (ByVal FileName$, Array%, ASize&)
  1143. QBSave FileName$, Array%(0), ASize&
  1144.  
  1145. Serves the same purpose as Visual Basic's InStr function, except it accepts any number of wild cards.
  1146. Declare Function QInstr% Lib "QPRO.DLL" (ByVal Start%, Source$, Search$)
  1147. X% = QInstr%(Start%, Source$, Search$)
  1148.  
  1149. Same as QInstr, except QInstr2 is case-insensitive.
  1150. Declare Function QInstr2% Lib "QPRO.DLL" (ByVal Start%, Source$, Search$)
  1151. X% = QInstr2%(Start%, Source$, Search$)
  1152.  
  1153. Same as QInstr, except it searches the source string backwards.
  1154. Declare Function QInstrB% Lib "QPRO.DLL" (ByVal Start%, Source$, Search$)
  1155. X% = QInstrB%(Start%, Source$, Search$)
  1156.  
  1157. Same as QInstr, except it searches the source string backwards, and is case-insensitive.
  1158. Declare Function QInstrB2% Lib "QPRO.DLL" (ByVal Start%, Source$, Search$)
  1159. X% = QInstrB2%(Start%, Source$, Search$)
  1160.  
  1161. Returns the Arc cosine of X.
  1162. FNSPREAD.BAS
  1163. ACos# = QPACOS#(x#)
  1164.  
  1165. Returns the Arc sine of X.
  1166. FNSPREAD.BAS
  1167. ASin# = QPASIN#(x#)
  1168.  
  1169. Returns the 4-quadrant arc tangent of Y/X.
  1170. FNSPREAD.BAS
  1171. ATan# = QPATAN2#(X#, Y#)
  1172.  
  1173. Returns the average of the values in an array.
  1174. FNSPREAD.BAS
  1175. Avg# = QPAVG#(Array#())
  1176.  
  1177. Finds the future value of a savings account drawing compound interest.
  1178. FNSPREAD.BAS
  1179. Cint@ = QPCint@(pv@, Intr#, Term%)
  1180.  
  1181. Returns the number of entries in an array.
  1182. FNSPREAD.BAS
  1183. Count% = QPCount%(Array#())
  1184.  
  1185. Determines the number of compounding periods it will take an investment to grow to a pre-determined value.
  1186. FNSPREAD.BAS
  1187. CTerm# = QPCTerm#(pv@, fv@, Intr#)
  1188.  
  1189. Calculates double declining balance depreciation.
  1190. FNSPREAD.BAS
  1191. DDB@ = QPDDB@(Cost@, Sal@, Life%, Per%, M!)
  1192.  
  1193. Calculates the future value of an annuity (sinking fund).
  1194. FNSPREAD.BAS
  1195. FV@ = QPFV@(pmt@, Intr#, Term%)
  1196.  
  1197. Calculates the future value of an annuity due.
  1198. FNSPREAD.BAS
  1199. FVD@ = QPFVD@(pmt@, Intr#, Term%)
  1200.  
  1201. Calculates the term (number of payments) of a sinking fund.
  1202. FNSPREAD.BAS
  1203. FVN# = QPFVN#(fv@, pmt@, Intr#)
  1204.  
  1205. Calculates the term (number of payments) of an annuity due/FV.
  1206. FNSPREAD.BAS
  1207. FVND# = QPFVND#(fv@, pmt@, Intr#)
  1208.  
  1209. Calculates the payment amount of a sinking fund.
  1210. FNSPREAD.BAS
  1211. FVP@ = QPFVP@(fv@, Intr#, Term%)
  1212.  
  1213. Calculates the payment amount of an annuity due/FV.
  1214. FNSPREAD.BAS
  1215. FVPD@ = QPFVPD@(fv@, Intr#, Term%)
  1216.  
  1217. Alternate version of Visual Basic's Hex  function that returns a string padded to a specified number of digits.
  1218. Declare Function QPHex$ Lib "QPRO.DLL" (Number As Any, ByVal Digits%)
  1219. X$ = QPHex$(Number, Digits%)
  1220.  
  1221. (Control) Replaces Visual Basic's horizontal Scroll Bar control.
  1222. QPRO.DLL
  1223. N/A
  1224.  
  1225. Calculates the internal rate of return.
  1226. FNSPREAD.BAS
  1227. IRR# = QPIRR#(Intr#, Array#())
  1228.  
  1229. Example code version of Visual Basic's Len function.
  1230. Declare Function QPLen% Lib "QPRO.DLL" (A$)
  1231. X% = QPLen%(A$)
  1232.  
  1233. Custom control that replaces Visual Basic's standard List Box control.
  1234. QPRO.DLL
  1235. N/A
  1236.  
  1237. Returns log of X base 10.
  1238. FNSPREAD.BAS
  1239. LOG10# = QPLOG10#(X#)
  1240.  
  1241. Returns the highest value in a list.
  1242. FNSPREAD.BAS
  1243. Max# = QPMAX#(Array#())
  1244.  
  1245. Returns the lowest value in an array.
  1246. FNSPREAD.BAS
  1247. Min# = QPMIN#(Array#())
  1248.  
  1249. Calculates the net present value of future cash flows.
  1250. FNSPREAD.BAS
  1251. NPV# = QPNPV#(Intr#, Array#())
  1252.  
  1253. Calculates loan payment (ordinary annuity).
  1254. FNSPREAD.BAS
  1255. PMT@ = QPPMT@(pv@, Intr#, Term%, bal@)
  1256.  
  1257. Calculates lease payments (annuity due).
  1258. FNSPREAD.BAS
  1259. PMTD@ = QPPMTD@(pv@, Intr#, Term%, bal@)
  1260.  
  1261. Calculates present value of an ordinary annuity.
  1262. FNSPREAD.BAS
  1263. PV@ = QPPV@(pmt@, Intr#, Term%, bal@)
  1264.  
  1265. Calculates the present value of an annuity due.
  1266. FNSPREAD.BAS
  1267. PVD@ = QPPVD@(pmt@, Intr#, Term%, bal@)
  1268.  
  1269. Calculates the term (number of payments) of an ordinary annuity.
  1270. FNSPREAD.BAS
  1271. PVN# = QPPVN#(pmt@, Intr#, pv@, bal@)
  1272.  
  1273. Calculates the term (number of payments) of an annuity due.
  1274. FNSPREAD.BAS
  1275. PVND# = QPPVND#(pmt@, Intr#, pv@, bal@)
  1276.  
  1277. Obtains the periodic interest rate required for an investment to grow to a pre-determined value in a specified time.
  1278. FNSPREAD.BAS
  1279. Rate# = QPRate#(pv@, fv@, Term%)
  1280.  
  1281. Rounds a number to a specified number of decimal places.
  1282. FNSPREAD.BAS
  1283. ROUNDED$ = QPROUND$(Ammount#, Places%)
  1284.  
  1285. Returns the segmented address of a numeric or Type variable.
  1286. Declare Function QPSegAdr& Lib "QPro.DLL" (Array As Any)
  1287. X& = QPSegAdr&(Array(0))
  1288.  
  1289. Calculates straight line depreciation.
  1290. FNSPREAD.BAS
  1291. SLN@ = QPSLN@(Cost@, Sal@, Life%)
  1292.  
  1293. Returns the population deviation of items in a list.
  1294. FNSPREAD.BAS
  1295. STD# = QPSTD#(Array#())
  1296.  
  1297. Returns the sum of all values in an array.
  1298. FNSPREAD.BAS
  1299. Sum# = QPSUM#(Array#())
  1300.  
  1301. Calculates sum-of-years-digits depreciation.
  1302. FNSPREAD.BAS
  1303. SYD@ = QPSYD@(Cost@, Sal@, Life%, Per%)
  1304.  
  1305. Returns the low-word portion of a long integer.
  1306. Declare Function QPUSI% Lib "QPRO.DLL" (ByVal LongInt&)
  1307. X% = QPUSI%(LongInt&)
  1308.  
  1309. Returns the population variance of values in a list.
  1310. FNSPREAD.BAS
  1311. Var# = QPVAR#(Array#())
  1312.  
  1313. Custom control that replaces Visual Basic's vertical Scroll Bar control.
  1314. QPRO.DLL
  1315. N/A
  1316.  
  1317. Returns the day of the week (1-7) given a legal DOS date in string form.
  1318. Declare Function QPWeekDay% Lib "QPRO.DLL" (D$)
  1319. X% = QPWeekDay%(D$)
  1320.  
  1321. Returns the contents of a masked entry Edit control without data deliminators.
  1322. CSDate, CSTime, CSText
  1323. [form.][control].RawData[ = string$]
  1324.  
  1325. Obtains a list of directory names from disk and loads them into a conventional (not fixed-length) string array.
  1326. Declare Sub ReadDir Lib "QPRO.DLL" (DirArray$)
  1327. ReadDir DirArray$(0)
  1328.  
  1329. Accepts a file specification with wild cards and returns the full path and file information for every matching file on the specified drive.
  1330. READDIRS.BAS
  1331. ReadDirs
  1332.  
  1333. Obtains a list of directory names from disk and loads them into a Type array.
  1334. Declare Sub ReadDirT Lib "QPRO.DLL" (ByVal Spec$, DirArray As Any)
  1335. ReadDirT Spec$, DirArray(0)
  1336.  
  1337. Obtains a list of file names from disk and loads them into a conventional (not fixed-length) string array.
  1338. Declare Sub ReadFile Lib "QPRO.DLL" (FileArray$)
  1339. ReadFile FileArray$(0)
  1340.  
  1341. Obtains a list of file names, sizes, dates and times from disk, formats them and loads them into a conventional string array.
  1342. Declare Sub ReadFileI Lib "QPRO.DLL" (FileArray$)
  1343. ReadFileI FileArray$(0)
  1344.  
  1345. Obtains a list of file names from disk and loads them into a Type array.
  1346. Declare Sub ReadFileT Lib "QPRO.DLL" (ByVal Spec$, FileArray As Any)
  1347. ReadFileT Spec$, FileArray(0)
  1348.  
  1349. Obtains a list of file names, sizes, dates and times from disk and loads them into separate components of a Type array.
  1350. Declare Sub ReadFileX Lib "QPRO.DLL" (ByVal Spec$, DirSize&, FullInfo As Any)
  1351. ReadFileX Spec$, DirSize&, FullInfo
  1352.  
  1353. Reads the contents of any disk sector into a conventional (not fixed-length) string.
  1354. Declare Sub ReadSect Lib "QPRO.DLL" (ByVal Drive$, Info$, ByVal Sector&)
  1355. ReadSect Drive$, Info$, Sector&
  1356.  
  1357. Reports whether a specified disk drive is ready for reading.
  1358. Declare Function ReadTest% Lib "QPRO.DLL" (ByVal Drive$)
  1359. X% = ReadTest%(Drive$)
  1360.  
  1361. Scans through a given string and replaces any control characters with a specified new character.
  1362. Declare Sub RemCtrl Lib "QPRO.DLL" (X$, Replace$)
  1363. RemCtrl X$, Replace$
  1364.  
  1365. Determines if a drive is a floppy drive.
  1366. Declare Function Removable% Lib "QPRO.DLL" (ByVal Drive$)
  1367. X% = Removable%(Drive$)
  1368.  
  1369. Replaces all occurrences of a specified character with a different character.
  1370. Declare Sub ReplaceChar Lib "QPRO.DLL" (Work$, Old$, New$)
  1371. ReplaceChar Work$, Old$, New$
  1372.  
  1373. Same as ReplaceChar, except it is case-insensitive.
  1374. Declare Sub ReplaceChar2 Lib "QPRO.DLL" (Work$, Old$, New$)
  1375. ReplaceChar2 Work$, Old$, New$
  1376.  
  1377. Returns the near address of the data associated with a variable length string.
  1378. Declare Function Sadd% Lib "QPRO.DLL" (A$)
  1379. X% = Sadd%(A$)
  1380.  
  1381. Scans a file for a particular string.
  1382. SCANFILE.BAS
  1383. Found = ScanFile&(FileName$, Text$, Start&)
  1384.  
  1385. Reports if the Scroll lock key is currently on or off.
  1386. Declare Function ScrolLock% Lib "QPRO.DLL" ()
  1387. X% = ScrolLock%()
  1388.  
  1389. Turns the Scroll Lock key off.
  1390. Declare Sub ScrollOff Lib "QPRO.DLL" ()
  1391. ScrollOff 
  1392.  
  1393. Turns the Scroll Lock key on.
  1394. Declare Sub ScrollOn Lib "QPRO.DLL" ()
  1395. ScrollOn 
  1396.  
  1397. Scans all or a portion of a numeric array to find the first match of a given value.  Searching may be performed either foreward or backwards, and the match may be specified to be exact, less than or equal to, or greater than or equal to.
  1398. Declare Sub Find2 Lib "QPRO.DLL" (Array$, NumEls%, Search$)
  1399. Find2 Array$(0), NumEls%, Search$
  1400.  
  1401. Specifies a string to search for, and also triggers a search within a custom List Box.
  1402. QPList
  1403. [form.]QPList.SearchString = string$
  1404.  
  1405. Allows you to search for any type of data (numeric or string) in a Type array and is case sensitive.
  1406. Declare Function SearchT% Lib "QPRO.DLL" (Array As Any, ByVal NumEls%, Match As Any, ByVal Direc%, ByVal Code%, ByVal Strsize%, ByVal MemOf%, ByVal Memsize%)
  1407. X% = SearchT%(Array(0), NumEls%, Match, Direc%, Code%, Strsize%, MemOf%, Memsize%)
  1408.  
  1409. Same as SearchT but is case insensitive.
  1410. Declare Function SearchT2% Lib "QPRO.DLL" (Array As Any, ByVal NumEls%, Match As Any, ByVal Direc%, ByVal Code%, ByVal Strsize%, ByVal MemOf%, ByVal Memsize%)
  1411. X% = SearchT2%(Array(0), NumEls%, Match, Direc%, Code%, Strsize%, MemOf%, Memsize%)
  1412.  
  1413. Returns the number of items currently selected in a custom List Box control.
  1414. QPList
  1415. [form.]QPList.SelCount[ = integer%]
  1416.  
  1417. Sets or returns the selection state of an item in a custom List Box control.
  1418. QPList
  1419. [form.]QPList.Selected(index%)[ = boolean%]
  1420.  
  1421. Controls the manner in which the user can select items in a custom List Box control.
  1422. QPList
  1423. [form.]QPList.Selection[ = integer%]
  1424.  
  1425. Increments the characters in a serialized string.
  1426. Declare Sub Sequence Lib "QPRO.DLL" (Sequence$)
  1427. Sequence Sequence$
  1428.  
  1429. Sets the attribute byte for a specified file.
  1430. Declare Sub SetAttr Lib "QPRO.DLL" (ByVal FileName$, ByVal Attr%)
  1431. SetAttr FileName$, Attr%
  1432.  
  1433. Sets an element in a QuickPak Professional Bit array to either one or zero (true or false).
  1434. Declare Sub SetBit Lib "QPRO.DLL" (Array$, ByVal Element%, ByVal Bit%)
  1435. SetBit Array$(0), Element%, Bit%
  1436.  
  1437. Allows changing the current default drive.
  1438. Declare Sub SetDrive Lib "QPRO.DLL" (ByVal Drive$)
  1439. SetDrive Drive$
  1440.  
  1441. Allows a Visual Basic program to set or clear the DOSError and WhichError functions.
  1442. Declare Sub SetError Lib "QPRO.DLL" (ByVal ErrNum%)
  1443. SetError ErrNum%
  1444.  
  1445. Shifts the bits in an integer variable a specified number of positions to the left.
  1446. Declare Function ShiftIL% Lib "QPRO.DLL" (ByVal Number%, ByVal Numbits%)
  1447. X% = ShiftIL%(Number%, Numbits%)
  1448.  
  1449. Shifts the bits in an integer variable a specified number of positions to the right.
  1450. Declare Function ShiftIR% Lib "QPRO.DLL" (ByVal Number%, ByVal Numbits%)
  1451. X% = ShiftIR%(Number%, Numbits%)
  1452.  
  1453. Reports if the Shift key is currently depressed.
  1454. Declare Function ShiftKey% Lib "QPRO.DLL" ()
  1455. X% = ShiftKey%()
  1456.  
  1457. Shifts the bits in a long integer variable a specified number of positions to the left.
  1458. Declare Function ShiftLL& Lib "QPRO.DLL" (ByVal NumberLong&, ByVal Numbits%)
  1459. X& = ShiftLL&(NumberLong&, Numbits%)
  1460.  
  1461. Shifts the bits in a long integer variable a specified number of positions to the right.
  1462. Declare Function ShiftLR& Lib "QPRO.DLL" (ByVal NumberLong&, ByVal Numbits%)
  1463. X& = ShiftLR&(NumberLong&, Numbits%)
  1464.  
  1465. Reduces the length of a string by replacing groups of blank spaces with tab characters.
  1466. FNOTHER.BAS
  1467. Small$ = ShrinkTab$(Original$, NumSpaces%)
  1468.  
  1469. Takes an incoming unsigned integer value, and returns it in a signed form.
  1470. FNOTHER.BAS
  1471. S% = Signed%(US&)
  1472.  
  1473. Places in order all or a specified portion of a currency array (ascending or descending order).
  1474. Declare Sub SortC Lib "QPRO.DLL" (Array@, ByVal NumEls%, ByVal Direct%)
  1475. SortC Array@(0), NumEls%, Direct%
  1476.  
  1477. Places in order all or a specified portion of a double precision array (ascending or descending order).
  1478. Declare Sub SortD Lib "QPRO.DLL" (Array#, ByVal NumEls%, ByVal Direct%)
  1479. SortD Array#(0), NumEls%, Direct%
  1480.  
  1481. Places in order all or a specified portion of an integer array (ascending or descending order).
  1482. Declare Sub SortI Lib "QPRO.DLL" (Array%, ByVal NumEls%, ByVal Direct%)
  1483. SortI Array%(0), NumEls%, Direct%
  1484.  
  1485. Places in order all or a specified portion of a long integer array (ascending or descending order).
  1486. Declare Sub SortL Lib "QPRO.DLL" (Array&, ByVal NumEls%, ByVal Direct%)
  1487. SortL Array&(0), NumEls%, Direct%
  1488.  
  1489. Places in order all or a specified portion of a single precision array (ascending or descending order).
  1490. Declare Sub SortS Lib "QPRO.DLL" (Array!, ByVal NumEls%, ByVal Direct%)
  1491. SortS Array!(0), NumEls%, Direct%
  1492.  
  1493. Places in order all or a specified portion of a conventional (not fixed-length) string array (ascending or descending order).
  1494. Declare Sub SortStr Lib "QPRO.DLL" (Array$, ByVal NumEls%, ByVal Direct%)
  1495. SortStr Array$(0), NumEls%, Direct%
  1496.  
  1497. Same as SortStr, but is case insensitive.
  1498. Declare Sub SortStr2 Lib "QPRO.DLL" (Array$, ByVal NumEls%, ByVal Direct%)
  1499. SortStr2 Array$(0), NumEls%, Direct%
  1500.  
  1501. Places in order all or a specified portion of a Type array (ascending or descending order).
  1502. Declare Sub SortT Lib "QPRO.DLL" (Array As Any, ByVal NumEls%, ByVal Direct%, ByVal ElSize%, ByVal MemberOffset%, ByVal MemberSize%)
  1503. SortT Array(0), NumEls%, Direct%, ElSize%, MemberOffset%, MemberSize%
  1504.  
  1505. Same as SortT, but is case insensitive.
  1506. Declare Sub SortT2 Lib "QPRO.DLL" (Array As Any, ByVal NumEls%, ByVal Direct%, ByVal ElSize%, ByVal MemberOffset%, ByVal MemberSize%)
  1507. SortT2 Array(0), NumEls%, Direct%, ElSize%, MemberOffset%, MemberSize%
  1508.  
  1509. Visual Basic replacement for the DOS BASIC SOUND statement, which produces a tone of a given frequency and duration.
  1510. Declare Function Sound% Lib "QPRO.DLL" (ByVal Frequency%, ByVal Duration%)
  1511. X% = Sound%(Frequency%, Duration%)
  1512.  
  1513. Returns a "sounds like" code that can be used to see if two strings sound alike.
  1514. Declare Function Soundex$ Lib "QPRO.DLL" (Work$)
  1515. X$ = Soundex$(Work$)
  1516.  
  1517. Accepts a number in the form of a string such as "12345" and returns a spelled-out English equivalent in the form of "Twelve Thousand Three Hundred Forty Five".
  1518. SPELLNUM.BAS
  1519. English$ = SpellNumber$(Str$(Number%))
  1520.  
  1521. Splits a Windows long integer color value into its component RGB (Red, Green, Blue) values.
  1522. Declare Sub SplitColor Lib "QPRO.DLL" (Red%, Green%, Blue%, OrigColr&)
  1523. SplitColor Red%, Green%, Blue%, OrigColr&
  1524.  
  1525. Returns the segment portion (of a far address) of a variable length string's data.
  1526. Declare Function SSeg% Lib "QPRO.DLL" (A$)
  1527. X% = SSeg%(A$)
  1528.  
  1529. Specifies the first item to search when using the SearchString property to locate a string within a custom List Box control.
  1530. QPList
  1531. [form.]QPList.StartSearch[ = integer%]
  1532.  
  1533. Returns the Windows system directory name (including its drive).
  1534. Declare Function SysDir$ Lib "QPRO.DLL" ()
  1535. X$ = SysDir$()
  1536.  
  1537. Obtains the current system time through DOS, and returns it in a string formatted to the hundredth of a second.
  1538. Declare Sub SysTime Lib "QPRO.DLL" (t$)
  1539. SysTime t$
  1540.  
  1541. Visual Basic replacement for the DOS BASIC SWAP command which exchanges the contents of two variables.
  1542. Declare Sub Swap Lib "QPRO.DLL" (Data1 As Any, Data2 As Any, ByVal TypeCode%)
  1543. Swap Data1, Data2, TypeCode%
  1544.  
  1545. Sets or returns the current Tab width in a Single Column List Box control.
  1546. QPList
  1547. [form.]QPList.TabWidth[ = long&]
  1548.  
  1549. Converts a time in string form to an equivalent number of seconds after midnight to allow time arithmetic.
  1550. Declare Function Time2Num& Lib "QPRO.DLL" (ByVal Tim$)
  1551. X& = Time2Num&(Tim$)
  1552.  
  1553. Controls the format of the time that is displayed by a CurTime custom control.
  1554. CurTime
  1555. [form.]CurTime.TimeMode[ = integer%]
  1556.  
  1557. Multiplies an integer variable times 2, without causing an overflow if the value exceeds 32,767.
  1558. Declare Function Times2% Lib "QPRO.DLL" (ByVal NumberX%)
  1559. X% = Times2%(NumberX%)
  1560.  
  1561. Sets or returns the index of the item displayed at the top of a custom List Box control.
  1562. QPList
  1563. [form.]QPList.TopRow[ = integer%]
  1564.  
  1565. Constrains an incoming value to a specified upper and lower range limit.
  1566. Declare Function TrapInt% Lib "QPRO.DLL" (ByVal Value, ByVal LoLimit%, ByVal HiLimit%)
  1567. X% = TrapInt%(Value, LoLimit%, HiLimit%)
  1568.  
  1569. Specifies how and when the CurTime control invokes the Alarm event procedure.
  1570. CurTime
  1571. [form.]CurTime.TriggerMode[ = integer%]
  1572.  
  1573. Returns a file name that does not already exist in the specified drive and directory.
  1574. UNIQUE.BAS
  1575. UniqueName$ = Unique$(PathName$)
  1576.  
  1577. Unlocks all or a portion of a network file.
  1578. Declare Sub UnLockFile Lib "QPRO.DLL" (ByVal Handle%, Offset&, Length&)
  1579. UnLockFile Handle%, Offset&, Length&
  1580.  
  1581. Accepts an incoming string that contains ASCII characters, and returns the equivalent numeric values separated by commas.
  1582. FNOTHER.BAS
  1583. List$ = UnParseStr$(Code$)
  1584.  
  1585. Takes an incoming signed integer value, and returns it in unsigned form.
  1586. FNOTHER.BAS
  1587. US& = UnSigned&(S%)
  1588.  
  1589. Converts all alphabetic characters in a string to upper case very quickly.
  1590. Declare Sub Upper Lib "QPRO.DLL" (XString$)
  1591. Upper XString$
  1592.  
  1593. Capitalizes all of the characters in a string, and also looks in a supplied table to determine how to handle foreign characters.
  1594. Declare Sub UpperTbl Lib "QPRO.DLL" (XString$, Table$)
  1595. UpperTbl XString$, Table$
  1596.  
  1597. Examines a string to see if it could be a valid DOS file name.
  1598. Declare Function Valid% Lib "QPRO.DLL" (ByVal FileName$)
  1599. X% = Valid%(FileName$)
  1600.  
  1601. Sets or returns a numeric value representing the contents of a custom Edit control.
  1602. CSCurrency, CSDate, CSDouble, CSLong, CSTime
  1603. [form.]CSDate.Value[ = integer%
  1604.  
  1605. Returns the near address of a non-string variable.
  1606. Declare Function VarPtr% Lib "QPRO.DLL" (Variable As Any)
  1607. X% = VarPtr%(Variable)
  1608.  
  1609. Returns the segment portion of a non-string variable's far address.
  1610. Declare Function VarSeg% Lib "QPRO.DLL" (Variable As Any)
  1611. X% = VarSeg%(Variable)
  1612.  
  1613. Reports which error if any occurred during the last call to a QuickPak Professional DOS routine.
  1614. Declare Function WhichError% Lib "QPRO.DLL" ()
  1615. X% = WhichError%()
  1616.  
  1617. Returns the Windows drive and directory name.
  1618. Declare Function WinDir$ Lib "QPRO.DLL" ()
  1619. X$ = WinDir$()
  1620.  
  1621. Returns the version number of Windows that is presently running on the host PC.
  1622. Declare Function WinVer% Lib "QPRO.DLL" ()
  1623. X% = WinVer%()
  1624.  
  1625. Writes new data to any disk sector from a string.
  1626. Declare Sub WriteSect Lib "QPRO.DLL" (ByVal Drive$, Infor$, ByVal Sector&)
  1627. WriteSect Drive$, Infor$, Sector&
  1628.  
  1629. Writes new data to a group of disk sectors from a string.
  1630. Declare Sub WriteSect2 Lib "QPRO.DLL" (ByVal Drive$, Infor$, ByVal Sector&)
  1631. WriteSect2 Drive$, Infor$, Sector&
  1632.  
  1633. Reports if a specified disk drive is available for writing.
  1634. Declare Function WriteTest% Lib "QPRO.DLL" (ByVal Drive$)
  1635. X% = WriteTest%(Drive$)
  1636.  
  1637. Returns the number of twips contained in a given number of horizontal pixels.
  1638. Declare Function XPixel2Twp& Lib "QPRO.DLL" (ByVal xPixel%)
  1639. X& = XPixel2Twp&(xPixel%)
  1640.  
  1641. Returns the number of pixels (logical units) contained in a given number of horizontal twips.
  1642. Declare Function XTwp2Pixel% Lib "QPRO.DLL" (ByVal xTwip&)
  1643. X% = XTwp2Pixel%(xTwip&)
  1644.  
  1645. Returns the number of twips contained in a given number of vertical pixels.
  1646. Declare Function YPixel2Twp& Lib "QPRO.DLL" (ByVal yPixel%)
  1647. X& = YPixel2Twp&(yPixel%)
  1648.  
  1649. Returns the number of pixels (logical units) contained in a given number of vertical twips.
  1650. Declare Function YTwp2Pixel% Lib "QPRO.DLL" (ByVal yTwip&)
  1651. X% = YTwp2Pixel%(yTwip&)
  1652.  
  1653. Specifies an hourly time zone offset from the current time for display in the CurTime custom control.
  1654. CurTime
  1655. [form.]CurTime.ZoneOffset[ = integer%]
  1656.  
  1657.